project(qSlicer${MODULE_NAME}ModuleWidgets)

set(KIT ${PROJECT_NAME})

set(${KIT}_EXPORT_DIRECTIVE "Q_SLICER_MODULE_${MODULE_NAME_UPPER}_WIDGETS_EXPORT")

set(${KIT}_INCLUDE_DIRECTORIES
  )

set(${KIT}_SRCS
  qDataStoreWidget.cpp
  qDataStoreWidget.h
  qDataStoreWidget_p.h
  qSlicer${MODULE_NAME}Widget.cxx
  qSlicer${MODULE_NAME}Widget.h
  )

set(${KIT}_MOC_SRCS
  qDataStoreWidget.h
  qDataStoreWidget_p.h
  qSlicer${MODULE_NAME}Widget.h
  )

set(${KIT}_UI_SRCS
  Resources/UI/DataStoreButtonBox.ui
  Resources/UI/qDataStoreWidget.ui
  Resources/UI/qSlicer${MODULE_NAME}Widget.ui
  )

set(${KIT}_TARGET_LIBRARIES
  vtkSlicer${MODULE_NAME}ModuleLogic
  )

#-----------------------------------------------------------------------------
SlicerMacroBuildModuleWidgets(
  NAME ${KIT}
  EXPORT_DIRECTIVE ${${KIT}_EXPORT_DIRECTIVE}
  INCLUDE_DIRECTORIES ${${KIT}_INCLUDE_DIRECTORIES}
  SRCS ${${KIT}_SRCS}
  MOC_SRCS ${${KIT}_MOC_SRCS}
  UI_SRCS ${${KIT}_UI_SRCS}
  TARGET_LIBRARIES ${${KIT}_TARGET_LIBRARIES}
  WRAP_PYTHONQT
  )
